home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 15 / AMIGAplus Sonderheft 15 (1998)(ICP)(DE)[!].iso / c / copy2clip.doc < prev    next >
Text File  |  1995-12-03  |  2KB  |  68 lines

  1. *************************************************************************
  2. ******************************  COPY2CLIP  ******************************
  3. *************************************************************************
  4.  
  5.                            -------------------
  6.                              Copyright © 1995
  7.                               Nick Christie.
  8.                            39 St Georges Drive
  9.                             Bransgore BH23 8EZ
  10.                               Great Britain.
  11.                            All Rights Reserved
  12.                            -------------------
  13.  
  14. Version:    Copy2Clip 1.0 (3.12.95)
  15.  
  16. Author:     Nick Christie
  17.  
  18. E-Mail:     nick.christie@oucs.ox.ac.uk
  19.  
  20. Address:    39 St Georges Drive
  21.             Bransgore BH23 8EZ
  22.             Great Britain.
  23.  
  24. Keywords:   Programming, Shell, CLI, Clipboard.
  25.  
  26. Purpose:    Copies from file or stdin to clipboard.
  27.  
  28. Requires:   Kickstart 2.04+ (V37+).
  29.  
  30. Distribution: Freeware. Source in C included.
  31.  
  32. Compiler:   SAS/C V6.56
  33.  
  34. To Make:    smake -f Copy2Clip.smake
  35.  
  36.             You will need to edit the smakefile if you do not put
  37.             TinyStart.o in LIB:. Note the use of registerized
  38.             parameters and the GST file 'include:all.gst'.
  39.  
  40. Usage:      Copy2Clip FILE UNIT/K/N BIN=BINARY/S BUF=BUFSIZE/K/N
  41.  
  42. Where:      FILE
  43.                 optional, pathname of file to copy to clipboard. If
  44.                 omitted, stdin is copied to clipboard until EOF.
  45.             UNIT
  46.                 clipboard unit number to use (0 to 255), default is 0.
  47.             BINARY
  48.                 switch to copy in binary mode - no encapsulation within
  49.                 an IFF FTXT form is performed. Default is to encapsulate.
  50.             BUFSIZE
  51.                 size in bytes of file buffer, default 2048, minimum 256.
  52.  
  53. Returns:     0 if all went hokey-dokey and input was copied to clip.
  54.             10 if the input file was not found
  55.             20 if there was some other error, eg. not enough memory.
  56.  
  57. Bugs:       Due to bugs in the iffparse library prior to V39, correct
  58.             operation under earlier OS's is not assured: see autodoc
  59.             for OpenClipboard().
  60.  
  61. Notes:      If an error occurs, an error message will be printed to
  62.             stdout.
  63.  
  64.             Use BINARY mode with IFF files only: all clipboard data
  65.             must be in IFF format.
  66.  
  67. $VER: Copy2Clip.doc 1.0 (3.12.95)
  68.